Add support for retrieving a forgotten username.

Templates were mostly copied from OTM2, with some text changes where
appropriate.