Fix to make implicit authorization flow to work

Currently implicit authorization can not be fully tested using the client as it is referencing an undefined variable. This pull request fixes it to refer to the function instead
Merge pull request #35 from Arul-/patch-1

Fix to make implicit authorization flow to work