Fixes User authentication issue.