Prevents users from bypassing password check