EZP-22045: Added tests for RepositoryAuthenticationProvider
EZP-22045: Fixed non fully authenticated user when already logged in