Ensuring that different devise scopes and session storage of locale are properly handled