Update drupal_jasmine_get_admin_cookie.js

Added support for registered user and drupal url. phantomJS support is completed.