Added an option for user to set 'sendImmediately' boolean for authentication.
Updated test
Fixed the test to accept true or false
Modified regex to account for either single or double quotes.
Merge pull request #3 from danielhardy/master

Minor Updates