- fixed usage of prepared statements durin auth - we may use 2 different queries in the same time.
  Credits for reporting the bug and the problem go to Steve Brisson
  Closes issue #6 on GH.