moving openid authentication uri factory into own file