Improved coverage on SecurityController