Allow paths to include ”admin”

There is only need to check if the path begins with the excluded
prefixes.

Also we should be able to rely on PATH_INFO.
Merge pull request #161 from Oktavilla/fix-error-whenadmin-in-path

Allow paths to include ”admin”