Changed :notice to :error when setting flash message on attempt failure.