rails3: fix issues found in integration/security_spec

Change-Id: Ic88b58865135694dd510fecec4ec21d44eea09a1
Reviewed-on: https://gerrit.instructure.com/31010
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
QA-Review: Brian Palmer <brianp@instructure.com>