fixed view issues, such as a div displaying, as well as displaying password fields when they're not required if oauth fails.