New openid login screen

Refactored some code that was made simpler by the fact that we are not passing Open id user names around as much anymore. 
Also applied this change to the identities screen.