Fix for authorization