http basic authentication and user data resolving