I found out the answer. All you need to do is place the following code into the non-wordpress page you would like to check for authentication and after login it will redirect you to the page you were previously on.
<?php
require('../wp-load.php');
get_header();
php auth_redirect();
?>