Create UrlBuilder and UrlEncoder
Use new UrlBuilder to construct refresh addresses
Implement URL encoding according to RFC 3986
Prevent destruction of dynamic context when returning to user before the authentication is finsihed

This case happens with the Object activation. With the destruction of the dynamic context vital values needed
for the authentication are missing resulting in a fail.