Attempt to fix login redirect