Fix ajax on sign in and recovery password