Access denied, CSRF check failed

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1. configure / set up OC as per documentation
2. log in

I found a workaround is to:
1. temporarily disable SELinux "setenforce permissive"
2. log in
3. re-enable SELinux "setenforce enforcing"

Seems to only affect the logging in portion and does not always happen. But when it does happen, disable selinux then log in then you can re-enable selinux again.

Expected behaviour
Tell us what should happen

Should be logged in.

Actual behaviour
Tell us what happens instead

Access Denied error "CSRF Check failed"

Server configuration
Operating system: RHEL7
Web server: Apache 2.4
Database: MariaDB 5.5
PHP version: 5.4
ownCloud version (see ownCloud admin page): 9.1.1
Updated from an older ownCloud or fresh install: Boxfresh
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

Not completed the set up yet. But I've enabled external storage, AD/LDAP. When we log in, it's with Active Directory credentials and I'm not sure if this is a factor.

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

Documentation on how to configure and Debug SELinux is available here:

https://doc.owncloud.org/server/9.1/admin_manual/installation/selinux_configuration.html