Fixes the annoying sql errors when you try and use forgot pw / change pw