'Nice one' to express congratulation is, I think, well-established - older readers may remember 'Nice one, Cyril'. But I think my friend in the baths may have been using it to express thanks - I hope I'm not yet quite so decrepit looking that people would feel it appropriate to congratulate me on having successfully opened a door!