Fix active_admin login and user editing issues