Fixed the LoginView to have a NavigationController which restricts orientation for iOS6 devices.