Fix several tests after modifications to sign in and forms