Remove secret_token (not used after rails 4).

Also fix regex.